<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>{$title}</title>
	<meta name="keywords" content="{$keywords}" />
	<meta name="description" content="{$description}" />
	<link rel="stylesheet" href="__PUBLIC__/css/main.css" />
    <script type="text/javascript" type="text/javascript" src="__PUBLIC__/artDialog/artDialog.js?skin=default"></script>
    <script type="text/javascript" type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
	<script type="text/javascript" type="text/javascript" src="__PUBLIC__/js/main.js"></script>
</head>
<body>
	<div class="main_box">
		<div class="top_box">
			<div class="tb_1"></div>
			<div class="tb_2"></div>
		</div>
		<form action="__URL__/add" name="myform" onsubmit="return checkSub()" id="myform" method="POST" enctype="multipart/form-data">

		<div class="middle_box">
				<div class="mb_1"></div>
				<div class="mb_2">
                    <ul id="loginbox" class="mt_20">
                        <li><a href="__URL__">去报名</a></li>
                        <li>|</li>
                        <li><a href="__URL__/votelist">去投票</a></li>
                        <li>|</li>
                        <?php if(empty($_SESSION['uid'])){?>
                        <li><a href="javascript:signin();">登录</a></li><li>|</li><li><a href="javascript:signup()">注册</a></li>
                        <?php }else{?>
                        <li><p class="welcome">欢迎您，<?php echo $_SESSION['uname'];?> <a href="__URL__/loginout">退出</a></p></li>
                        <?php }?>
                    </ul>
				</div>
				<div class="mb_3">
					<ul class="groupul">
						<li><input type="text" class="text" name="group_name" id="group_name" /></li>
						<li><input type="text" class="text" name="leader_name" id="leader_name" /></li>
						<li><input type="text" class="text" name="qq" id="qq" /></li>
						<li><input type="text" class="text" name="mobile" id="mobile" /></li>
						<li><input type="file" class="file" name="avatar" id="avatar" /></li>
					</ul>
				</div>
				<div class="mb_4">
					<div class="memberlist clearfix">
					<ul class="memberul">
						<li><input type="text" class="username" name="player_name[]" id="player_name" /></li>
						<li>
							<select name="player_sex[]" class="sex" id="">
								<option value="男">男</option>
								<option value="女">女</option>
							</select>
						</li>
						<li><input type="text" class="age" name="player_age[]" id="player_age" /></li>
						<li><input type="text" class="idcard" name="player_idcard[]" id="player_idcard" /></li>
					</ul>
					<ul class="memberul">
						<li><input type="text" class="username" name="player_name[]" id="player_name" /></li>
						<li>
							<select name="player_sex[]" class="sex" id="">
								<option value="男">男</option>
								<option value="女">女</option>
							</select>
						</li>
						<li><input type="text" class="age" name="player_age[]" id="player_age" /></li>
						<li><input type="text" class="idcard" name="player_idcard[]" id="player_idcard" /></li>
					</ul>
					<ul class="memberul">
						<li><input type="text" class="username" name="player_name[]" id="player_name" /></li>
						<li>
							<select name="player_sex[]" class="sex" id="">
								<option value="男">男</option>
								<option value="女">女</option>
							</select>
						</li>
						<li><input type="text" class="age" name="player_age[]" id="player_age" /></li>
						<li><input type="text" class="idcard" name="player_idcard[]" id="player_idcard" /></li>
					</ul>
					<ul class="memberul">
						<li><input type="text" class="username" name="player_name[]" id="player_name" /></li>
						<li>
							<select name="player_sex[]" class="sex" id="">
								<option value="男">男</option>
								<option value="女">女</option>
							</select>
						</li>
						<li><input type="text" class="age" name="player_age[]" id="player_age" /></li>
						<li><input type="text" class="idcard" name="player_idcard[]" id="player_idcard" /></li>
					</ul>
					<ul class="memberul">
						<li><input type="text" class="username" name="player_name[]" id="player_name" /></li>
						<li>
							<select name="player_sex[]" class="sex" id="">
								<option value="男">男</option>
								<option value="女">女</option>
							</select>
						</li>
						<li><input type="text" class="age" name="player_age[]" id="player_age" /></li>
						<li><input type="text" class="idcard" name="player_idcard[]" id="player_idcard" /></li>
					</ul>
					</div>
				</div>
				<div class="mb_5">
					<textarea name="group_info" id="group_info" class="group_info" cols="30" rows="10"></textarea>
				</div>
		</div>
		<div class="bottom_box">
			<div class="bb_1">
				<p><input type="reset" value="重置" />&nbsp;&nbsp;<input type="submit" value="提交" /> <input type="button" value="去交报名费" onclick="window.open('http://www.yuxituan.com/team.aspx?id=2153')" /></p>
			</div>
		</div>
		</form>
	</div>

    <!--登录模板 begin-->
    <div id="signin" style="display:none">
        <form action="__URL__/signin" method="post" class="signbox">
            <p>登 录 名：<input type="text" name="uname" class="field"/></p>
            <p>登录密码：<input type="password" name="pwd" class="field"/></p>
            <p style="text-align:center"><input type="submit" value="登录" class="btn"/><input type="reset" value="重置" class="btn"/></p>
            <p style="text-align: center"><a href="javascript:signup();">还没有账号，去注册</a></p>
        </form>
    </div>
    <!--登录模板 begin-->

    <!--注册模板 begin-->
    <div id="signup" style="display:none">
        <form action="__URL__/signup" name="form1" method="post" onsubmit="return checkform()" class="signbox">
            <p>登 录 名：<input type="text" id="uname" name="uname" class="field"/></p>
            <p>登录密码：<input type="password" id="pwd" name="pwd" class="field"/></p>
            <p>确认密码：<input type="password" id="pwd2" name="pwd2" class="field"/></p>
            <p style="text-align:center"><input type="submit" value="注册" class="btn"/><input type="reset" value="重置" class="btn"/></p>
            <p style="text-align: center"><a href="javascript:signin();">我有账号，去登录</a></p>
        </form>
    </div>
    <!--end 注册模板-->
</body>
</html>